best way to solve continued ratio